package control
{
   import flash.events.Event;

   public class ScaleBoundEvent extends Event
   {
      public static const CHANGE: String = "changeMarkerPosition"
      public static const SELECT: String = "selectMarker"
      public static const DESELECT: String = "deselectMarker"
      public static const DBLCLICK: String = "doubleClickMarker"
      
      public var proportions: Boolean
      public var dx: Number
      public var dy: Number

      public function ScaleBoundEvent(type:String, dx:Number=0, dy:Number=0, propotions:Boolean=false, bubbles:Boolean=false, cancelable:Boolean=false) {
         super(type, bubbles, cancelable);
         this.dx = dx
         this.dy = dy
         this.proportions = propotions
      }

      override public function clone():Event {
         return new ScaleBoundEvent(type, dx, dy, proportions, bubbles, cancelable)
      }
      
   }
}